public class Grade {
	public  int grade(int n) {
       
      
        
        if(n>2000){      
            return 1;
        }
        else if(1300< n && n<= 2000){        		
        	return 2;
        }
        else if(800 < n && n<= 1300){        	        	
        	return 3;
        }
        else if(500 <n && n<= 800){       	        	
        	return 4;
        }
        else if(200 <= n && n<= 500){       	        	
        	return 5;
        }
        else if(50 <=n && n<200) {             	
        	return 6;
        }
        else  {              	
        	return 7;
        }		
        }
	    //sc.close();
}
